SECURE BOOT: change prototype of fsl_secboot_validate function
authorAneesh Bansal <[email protected]>
Tue, 8 Dec 2015 08:44:12 +0000 (14:14 +0530)
committerYork Sun <[email protected]>
Mon, 25 Jan 2016 16:24:16 +0000 (08:24 -0800)
commitbc71f926e35be8af1a9491ea0332871881c7eda5
treeee7e9db764ea87bd60996ac43376ad7ac5a73605
parent81dfdee0dc6c6ca6bdf0c75e0903afefc950d512
SECURE BOOT: change prototype of fsl_secboot_validate function

The prototype and defination of function fsl_secboot_validate
has been changed to support calling this function from another
function within u-boot.
Only two aruments needed:
1) header address - Mandatory
2) SHA256 string - optional

Signed-off-by: Saksham Jain <[email protected]>
Signed-off-by: Aneesh Bansal <[email protected]>
Acked-by: Ruchika Gupta <[email protected]>
Reviewed-by: York Sun <[email protected]>
board/freescale/common/cmd_esbc_validate.c
board/freescale/common/fsl_validate.c
include/fsl_validate.h